package com.jinmdz.fmis.mapper.entity;

import com.jinmdz.fmis.mapper.annotation.MyColumn;
import com.jinmdz.fmis.mapper.annotation.MyTable;
import com.jinmdz.fmis.mapper.base.BaseEntity;


/**
 * 系统操作日志表Entity
 *
 * @author generator
 * @date 2020-03-12 17:08
 */
@MyTable(value = "SystemOperationLogEntity", name = "system_operation_log", comment = "系统操作日志表")
public class SystemOperationLogEntity extends BaseEntity {
    /**
     * 操作类型编码
     */
    @MyColumn(value = "operationTypeCode", name = "operation_type_code", comment = "操作类型编码", required = true)
    private Integer operationTypeCode;

    /**
     * 操作类型
     */
    @MyColumn(value = "operationType", name = "operation_type", comment = "操作类型", required = true)
    private String operationType;

    /**
     * 业务编码
     */
    @MyColumn(value = "businessCode", name = "business_code", comment = "业务编码")
    private String businessCode;

    /**
     * 业务类型编码
     */
    @MyColumn(value = "businessTypeCode", name = "business_type_code", comment = "业务类型编码")
    private Integer businessTypeCode;

    /**
     * 业务类型
     */
    @MyColumn(value = "businessType", name = "business_type", comment = "业务类型")
    private String businessType;

    /**
     * 业务描述
     */
    @MyColumn(value = "businessDescribe", name = "business_describe", comment = "业务描述")
    private String businessDescribe;

    /**
     * 日志内容
     */
    @MyColumn(value = "logContent", name = "log_content", comment = "日志内容", required = true)
    private String logContent;

    /**
     * 日志描述
     */
    @MyColumn(value = "logDescribe", name = "log_describe", comment = "日志描述")
    private String logDescribe;

    /**
     * 日志表单
     */
    @MyColumn(value = "logForm", name = "log_form", comment = "日志表单")
    private String logForm;

    /**
     * 旧数据
     */
    @MyColumn(value = "oldValue", name = "old_value", comment = "旧数据")
    private String oldValue;

    /**
     * 新数据
     */
    @MyColumn(value = "newValue", name = "new_value", comment = "新数据")
    private String newValue;

    /**
     * 备注
     */
    @MyColumn(value = "remark", name = "remark", comment = "备注")
    private String remark;

    /**
     * 创建日志账号名称
     */
    @MyColumn(value = "createUserName", name = "create_user_name", comment = "创建日志账号名称")
    private String createUserName;


    public Integer getOperationTypeCode() {
        return operationTypeCode;
    }

    public SystemOperationLogEntity setOperationTypeCode(Integer operationTypeCode) {
        this.operationTypeCode = operationTypeCode;
        return this;
    }

    public String getOperationType() {
        return operationType;
    }

    public SystemOperationLogEntity setOperationType(String operationType) {
        this.operationType = operationType;
        return this;
    }

    public String getBusinessCode() {
        return businessCode;
    }

    public SystemOperationLogEntity setBusinessCode(String businessCode) {
        this.businessCode = businessCode;
        return this;
    }

    public Integer getBusinessTypeCode() {
        return businessTypeCode;
    }

    public SystemOperationLogEntity setBusinessTypeCode(Integer businessTypeCode) {
        this.businessTypeCode = businessTypeCode;
        return this;
    }

    public String getBusinessType() {
        return businessType;
    }

    public SystemOperationLogEntity setBusinessType(String businessType) {
        this.businessType = businessType;
        return this;
    }

    public String getBusinessDescribe() {
        return businessDescribe;
    }

    public SystemOperationLogEntity setBusinessDescribe(String businessDescribe) {
        this.businessDescribe = businessDescribe;
        return this;
    }

    public String getLogContent() {
        return logContent;
    }

    public SystemOperationLogEntity setLogContent(String logContent) {
        this.logContent = logContent;
        return this;
    }

    public String getLogDescribe() {
        return logDescribe;
    }

    public SystemOperationLogEntity setLogDescribe(String logDescribe) {
        this.logDescribe = logDescribe;
        return this;
    }

    public String getLogForm() {
        return logForm;
    }

    public SystemOperationLogEntity setLogForm(String logForm) {
        this.logForm = logForm;
        return this;
    }

    public String getOldValue() {
        return oldValue;
    }

    public SystemOperationLogEntity setOldValue(String oldValue) {
        this.oldValue = oldValue;
        return this;
    }

    public String getNewValue() {
        return newValue;
    }

    public SystemOperationLogEntity setNewValue(String newValue) {
        this.newValue = newValue;
        return this;
    }

    public String getRemark() {
        return remark;
    }

    public SystemOperationLogEntity setRemark(String remark) {
        this.remark = remark;
        return this;
    }

    public String getCreateUserName() {
        return createUserName;
    }

    public SystemOperationLogEntity setCreateUserName(String createUserName) {
        this.createUserName = createUserName;
        return this;
    }
}